package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 应付款账单
 * 
 * @author hct
 * @email 77802226@qq.com
 * @date 2020-03-26 16:18:07
 */

@Data
@TableName("unimall_finance_payable")
public class FinancePayableDO extends SuperDO {

	/**
	 * 
	 */
	/**
	 * 采购入库id
	 */
    @TableField("warehouse_order_id")
    private Long warehouseOrderId;
	/**
	 * 采购订单号
	 */
    @TableField("warehouse_order_no")
    private String warehouseOrderNo;
	/**
	 * 供应商id
	 */
    @TableField("supplier_id")
    private Long supplierId;
	/**
	 * 供应商名称
	 */
    @TableField("supplier_name")
    private String supplierName;
	/**
	 * 支付方式
	 */
    @TableField("payment_code")
    private String paymentCode;

	/**
	 * 采购需支付金额
	 */
	@TableField("payment_all_amount")
	private Integer paymentAllAmount;



	/**
	 * 采购优惠金额
	 */
	@TableField("payment_youhui_amount")
	private Integer paymentYouhuiAmount;


	/**
	 * 采购需支付金额
	 */
    @TableField("payment_amount")
    private Integer paymentAmount;
	/**
	 * 采购已经支付金额
	 */
    @TableField("finish_amount")
    private Integer finishAmount;
	/**
	 * 添加时间
	 */
    @TableField("add_time")
    private Date addTime;
	/**
	 * 管理员id
	 */
    @TableField("admin_id")
    private Long adminId;

	@TableField("admin_name")
	private String adminName;
	/**
	 * 
	 */
    @TableField("gmt_create")
    private Date gmtCreate;
	/**
	 * 
	 */
    @TableField("gmt_update")
    private Date gmtUpdate;
	/**
	 * 客户类型(1:供应商 2:门店)
	 */
	@TableField("customer_type")
	private Integer customerType;
	/**
	 * 1代表正常 2代表已支付完成
	 */
	private Integer status;

	@TableField("warehouse_id")
	private Long warehouseId;
}
